package com.chance.cc.crawler.development.command.meta.keyword;

import com.alibaba.fastjson.JSON;
import com.chance.cc.crawler.meta.core.bean.crawler.CrawlerDomainKeys;

import java.util.Arrays;

/**
 * @author bx
 * @date 2020/12/21 0021 18:25
 */
public class DomainKeywordTest {

    public static void main(String[] args) {
        CrawlerDomainKeywordCommand crawlerDomainKeywordCommand =
                new CrawlerDomainKeywordCommand("192.168.1.215",9599);

        CrawlerDomainKeys crawlerDomainKeys = new CrawlerDomainKeys();
        crawlerDomainKeys.setDomain("test");
        crawlerDomainKeys.setStatus(0);
        crawlerDomainKeywordCommand.addOrUpdateKeys(crawlerDomainKeys);

    }
}
